Object = {}

function Object:new()
	local obj = {}
	self.__index = self
	setmetatable(obj,self)
	return obj
end

function Object:sub(name)
	_G[name] = {}
	local obj = _G[name]
	self.__index = self
	setmetatable(obj,self)
end